use dioxus::prelude::*;

use crate::pages::home::Home;

#[derive(Routable, Clone, PartialEq)]
pub enum Route {
    #[route("/")]
    Home {},
    #[route("/404")]
    NotFound {},
}

#[component]
pub fn NotFound() -> Element {
    rsx! {
        div { "页面未找到" }
    }
}
